﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000881 RID: 2177
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetWolfBroGameDataCsReq : IMessage<GetWolfBroGameDataCsReq>, IMessage, IEquatable<GetWolfBroGameDataCsReq>, IDeepCloneable<GetWolfBroGameDataCsReq>, IBufferMessage
	{
		// Token: 0x17001B6B RID: 7019
		// (get) Token: 0x06006149 RID: 24905 RVA: 0x00102AB0 File Offset: 0x00100CB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetWolfBroGameDataCsReq> Parser
		{
			get
			{
				return GetWolfBroGameDataCsReq._parser;
			}
		}

		// Token: 0x17001B6C RID: 7020
		// (get) Token: 0x0600614A RID: 24906 RVA: 0x00102AB7 File Offset: 0x00100CB7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetWolfBroGameDataCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001B6D RID: 7021
		// (get) Token: 0x0600614B RID: 24907 RVA: 0x00102AC9 File Offset: 0x00100CC9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetWolfBroGameDataCsReq.Descriptor;
			}
		}

		// Token: 0x0600614C RID: 24908 RVA: 0x00102AD0 File Offset: 0x00100CD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetWolfBroGameDataCsReq()
		{
		}

		// Token: 0x0600614D RID: 24909 RVA: 0x00102AD8 File Offset: 0x00100CD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetWolfBroGameDataCsReq(GetWolfBroGameDataCsReq other) : this()
		{
			this.id_ = other.id_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600614E RID: 24910 RVA: 0x00102AFD File Offset: 0x00100CFD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetWolfBroGameDataCsReq Clone()
		{
			return new GetWolfBroGameDataCsReq(this);
		}

		// Token: 0x17001B6E RID: 7022
		// (get) Token: 0x0600614F RID: 24911 RVA: 0x00102B05 File Offset: 0x00100D05
		// (set) Token: 0x06006150 RID: 24912 RVA: 0x00102B0D File Offset: 0x00100D0D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Id
		{
			get
			{
				return this.id_;
			}
			set
			{
				this.id_ = value;
			}
		}

		// Token: 0x06006151 RID: 24913 RVA: 0x00102B16 File Offset: 0x00100D16
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetWolfBroGameDataCsReq);
		}

		// Token: 0x06006152 RID: 24914 RVA: 0x00102B24 File Offset: 0x00100D24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetWolfBroGameDataCsReq other)
		{
			return other != null && (other == this || (this.Id == other.Id && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006153 RID: 24915 RVA: 0x00102B54 File Offset: 0x00100D54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Id != 0U)
			{
				num ^= this.Id.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006154 RID: 24916 RVA: 0x00102B93 File Offset: 0x00100D93
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006155 RID: 24917 RVA: 0x00102B9B File Offset: 0x00100D9B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006156 RID: 24918 RVA: 0x00102BA4 File Offset: 0x00100DA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Id != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.Id);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006157 RID: 24919 RVA: 0x00102BD8 File Offset: 0x00100DD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Id != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Id);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006158 RID: 24920 RVA: 0x00102C16 File Offset: 0x00100E16
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetWolfBroGameDataCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Id != 0U)
			{
				this.Id = other.Id;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006159 RID: 24921 RVA: 0x00102C47 File Offset: 0x00100E47
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600615A RID: 24922 RVA: 0x00102C50 File Offset: 0x00100E50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 112U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Id = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400254C RID: 9548
		private static readonly MessageParser<GetWolfBroGameDataCsReq> _parser = new MessageParser<GetWolfBroGameDataCsReq>(() => new GetWolfBroGameDataCsReq());

		// Token: 0x0400254D RID: 9549
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400254E RID: 9550
		public const int IdFieldNumber = 14;

		// Token: 0x0400254F RID: 9551
		private uint id_;
	}
}
